package com.jy.rhin.facade.ws.basic.wsEntry.exception;

import lombok.Data;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Fault", propOrder = {
        "Code",
        "Reason"
})
@Data
@XmlRootElement(name = "Fault")
public class FaultDetail {
    @XmlElement(required = true)
    private Code Code;
    @XmlElement(required = true)
    private Reason Reason;
}
